package com.moco.launcher.activity;

import android.app.Activity;
import android.graphics.drawable.AnimationDrawable;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;

import com.moco.launcher.R;

public class GestureHelpActivity extends Activity {
	private ImageView mImgViewExit,mImgViewHelp;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.gesturehelp_activity);
		
		mImgViewExit=(ImageView) findViewById(R.id.gester_exit_gesturehelp);
		mImgViewHelp=(ImageView) findViewById(R.id.id_helpgestture_animation);
		
		mImgViewExit.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View arg0) {
				finish();
			}
		});
		
		final AnimationDrawable ad = (AnimationDrawable)mImgViewHelp.getBackground();
		ad.start();
	}

}
